package com.vcms.cms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SiteModel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "site_model", catalog = "vcms_0.1")
public class SiteModel implements java.io.Serializable {

	// Fields

	private Integer siteModelId;
	private String field;
	private String modelLabel;
	private Integer priority;
	private String uploadPath;
	private Integer textSize;
	private Integer areaRows;
	private Integer areaCols;
	private String help;
	private String helpPosition;
	private Integer dataType;
	private Boolean isSingle;

	// Constructors

	/** default constructor */
	public SiteModel() {
	}

	/** full constructor */
	public SiteModel(String field, String modelLabel, Integer priority,
			String uploadPath, Integer textSize, Integer areaRows,
			Integer areaCols, String help, String helpPosition,
			Integer dataType, Boolean isSingle) {
		this.field = field;
		this.modelLabel = modelLabel;
		this.priority = priority;
		this.uploadPath = uploadPath;
		this.textSize = textSize;
		this.areaRows = areaRows;
		this.areaCols = areaCols;
		this.help = help;
		this.helpPosition = helpPosition;
		this.dataType = dataType;
		this.isSingle = isSingle;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "siteModelId", unique = true, nullable = false)
	public Integer getSiteModelId() {
		return this.siteModelId;
	}

	public void setSiteModelId(Integer siteModelId) {
		this.siteModelId = siteModelId;
	}

	@Column(name = "field", length = 100)
	public String getField() {
		return this.field;
	}

	public void setField(String field) {
		this.field = field;
	}

	@Column(name = "modelLabel", length = 300)
	public String getModelLabel() {
		return this.modelLabel;
	}

	public void setModelLabel(String modelLabel) {
		this.modelLabel = modelLabel;
	}

	@Column(name = "priority")
	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	@Column(name = "uploadPath", length = 300)
	public String getUploadPath() {
		return this.uploadPath;
	}

	public void setUploadPath(String uploadPath) {
		this.uploadPath = uploadPath;
	}

	@Column(name = "textSize")
	public Integer getTextSize() {
		return this.textSize;
	}

	public void setTextSize(Integer textSize) {
		this.textSize = textSize;
	}

	@Column(name = "areaRows")
	public Integer getAreaRows() {
		return this.areaRows;
	}

	public void setAreaRows(Integer areaRows) {
		this.areaRows = areaRows;
	}

	@Column(name = "areaCols")
	public Integer getAreaCols() {
		return this.areaCols;
	}

	public void setAreaCols(Integer areaCols) {
		this.areaCols = areaCols;
	}

	@Column(name = "help", length = 300)
	public String getHelp() {
		return this.help;
	}

	public void setHelp(String help) {
		this.help = help;
	}

	@Column(name = "helpPosition", length = 100)
	public String getHelpPosition() {
		return this.helpPosition;
	}

	public void setHelpPosition(String helpPosition) {
		this.helpPosition = helpPosition;
	}

	@Column(name = "dataType")
	public Integer getDataType() {
		return this.dataType;
	}

	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}

	@Column(name = "isSingle")
	public Boolean getIsSingle() {
		return this.isSingle;
	}

	public void setIsSingle(Boolean isSingle) {
		this.isSingle = isSingle;
	}

}